package day04;
import java.util.Scanner;//1.导入一个扫描仪
public class ScannerDemo {
    public static void main(String[] args) {
        Scanner age=new Scanner(System.in);
        System.out.println("请输入年龄：");
        int a=age.nextInt();
        System.out.println("年龄为"+a);

    }

}
